<!DOCTYPE html>  
<html lang="zh_cn" xmlns:th="http://www.thymeleaf.org">
<head>  
    <meta charset="UTF-8">  
    <title>登录</title>  
    <link rel="stylesheet" th:href="@{/css/login.css}">
    <link rel="icon" th:href="@{/css/login.css}" sizes="16x16">
</head>  
<body>  
    <div id="login">  
        <h1>登录</h1>  
        <form th:action="@{/login}"  method="post">
            <input type="text" required="required" placeholder="用户名" name="username"></input>
            <input type="password" required="required" placeholder="密码" name="password"></input>
            <span class="remember">记住我</span><input type="checkbox" name="remember" style="width: 50px"></input>
            <button class="but" type="submit">登录</button>
        </form>  
    </div>  
</body>  
</html> 